<template>
    <div class="mainFrom">
        <div class="item">

            <slot name="title"></slot>

                <slot name="name"></slot>
                
                <slot name="file"></slot>
                <slot name="longText"></slot>
               

                <slot name="button"></slot>
           
        </div>
    </div>
</template>

<script>
export default {
    name:'mainFrom'
}
</script>

<style scoped>
.mainFrom{
    width: 500px;
    height: 100%;
    margin: 0 auto;
    padding: 20px;
}
.mainFrom .title{
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1em;
    color: inherit;
    text-align: center;
}
.mainFrom .item label{
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}
.mainFrom .item input{
    width: 300px;
    padding: 6px 12px;
    border-radius: 5px;
}
.mainFrom .item textarea{
    width: 100%;
    border-radius: 5px;
}

.mainFrom button{
    width: 300px;
    color: #fff;
    background-color: #31b0d5;
    border-color: #269abc;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 20%;
}

</style>